package com.wuzesheng.org;

import com.wuzesheng.org.netty.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class QchatApplication {

    public static void main(String[] args) {
        SpringApplication.run(QchatApplication.class, args);

        // 启动netty服务器
        try {
            new NettyServer(8091).start();
        } catch (Exception e) {
            System.out.println("NettyServerError:" + e.getMessage());
        }
    }

}
